From: Yuan Fu Date: Wed, 3 Jul 2024 07:31:16 +0000 (-0700) Subject: Fix treesit test (bug#71907) X-Git-Tag: archive/raspbian/1%30.1+1-3+rpi1^2~14^2~18^2~789^2 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=b085d683962b65d3e138950dd660779e398134fa;p=emacs.git Fix treesit test (bug#71907) * test/src/treesit-tests.el (treesit-node-check): Re-parse buffer before checking for node outdated-ness. --- diff --git a/test/src/treesit-tests.el b/test/src/treesit-tests.el index ce5dc76794a..3431ba5f4dd 100644 --- a/test/src/treesit-tests.el +++ b/test/src/treesit-tests.el @@ -842,6 +842,7 @@ visible_end.)" 'missing)) (goto-char (point-max)) (insert "]") + (treesit-parser-root-node parser) (should (treesit-node-check array-node 'outdated)))) ;;; Defun navigation